import request from '@/utils/request'

// 查询多租户信息列表
export function listrouteInfo(query) {
  return request({
    url: '/business/routeInfo/list',
    method: 'get',
    params: query
  })
}

// 查询多租户信息详细
export function getrouteInfo(id) {
  return request({
    url: '/business/routeInfo/' + id,
    method: 'get'
  })
}

// 新增多租户信息
export function addrouteInfo(data) {
  return request({
    url: '/business/routeInfo',
    method: 'post',
    data: data
  })
}

// 修改多租户信息
export function updaterouteInfo(data) {
  return request({
    url: '/business/routeInfo',
    method: 'put',
    data: data
  })
}

// 删除多租户信息
export function delrouteInfo(id) {
  return request({
    url: '/business/routeInfo/' + id,
    method: 'delete'
  })
}

// 导出多租户信息
export function exportrouteInfo(query) {
  return request({
    url: '/business/routeInfo/export',
    method: 'get',
    params: query
  })
}